var version,version;(window.isSearchBot=!1,/Bot/i.test(navigator.userAgent)&&(window.isSearchBot=!0),window.isMobile=!1,window.$isMobile=!1,/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)&&(window.isMobile=!0,window.$isMobile=!0),window.isiOS=!1,/iPhone|iPad|iPod/i.test(navigator.userAgent)&&(window.isiOS=!0),window.isiOSChrome=!!navigator.userAgent.match("CriOS"),window.isiOSVersion="",window.isiOS)&&(null!==(version=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/))&&(window.isiOSVersion=[parseInt(version[1],10),parseInt(version[2],10),parseInt(version[3]||0,10)]));(window.isSafari=!1,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)&&(window.isSafari=!0),window.isSafariVersion="",window.isSafari)&&(null!==(version=navigator.appVersion.match(/Version\/(\d+)\.(\d+)\.?(\d+)? Safari/))&&(window.isSafariVersion=[parseInt(version[1],10),parseInt(version[2],10),parseInt(version[3]||0,10)]));function t_throttle(e,t,o){var i,r;return t||(t=250),function(){var n=o||this,a=+new Date,s=arguments;i&&a<i+t?(clearTimeout(r),r=setTimeout((function(){i=a,e.apply(n,s)}),t)):(i=a,e.apply(n,s))}}function t_onFuncLoad(e,t,o){"function"==typeof window[e]?t():setTimeout((function i(){if("function"!=typeof window[e]){if("complete"===document.readyState&&"function"!=typeof window[e])throw new Error(e+" is undefined");setTimeout(i,o||100)}else t()}))}function t_onReady(e){"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)}window.browserLang=(window.navigator.userLanguage||window.navigator.language).toUpperCase().slice(0,2),window.tildaBrowserLang=window.browserLang,function(e){if(e(document).ready((function(){var t=window.navigator.userAgent,o=-1!==t.indexOf("Instagram"),i=-1!==t.indexOf("FBAV"),r=-1!==t.indexOf("YaSearchBrowser"),n=-1!==t.indexOf("SamsungBrowser"),a;if(-1!==t.indexOf("Android")&&(i||o||r||n)){var s=document.createElement("p");s.style.lineHeight="100px",s.style.padding="0",s.style.margin="0",s.style.height="auto",s.style.position="absolute",s.style.opacity="0.001",s.innerText="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",document.body.appendChild(s);var c=100/s.getBoundingClientRect().height;s.parentNode.removeChild(s),c<.98&&e("body").append('<style>.t396 [data-elem-type="text"] .tn-atom {zoom: '+100*c+"%;}</style>")}})),1==window.isMobile){var t=function(){for(var t=document.body.querySelectorAll(".t-cover__carrier"),o=e(window).height(),i=0,r=0,n=t.length,a,s,c,d,l,p;r<n;r++)(s=(a=t[r]).style).height.indexOf("vh")>-1&&(i=parseInt(s.height,10)/100,c=Math.round(o*i)+"px",(d=e(a).parent(".t-cover"))&&(d=d[0])&&(l=d.querySelector(".t-cover__filter"),p=d.querySelector(".t-cover__wrapper"),l&&(l.style.height=c),p&&(p.style.height=c),s.height=d.style.height=c));var u=document.body.querySelectorAll("[data-height-correct-vh]");o=e(window).height(),i=0;for(var r=0,n=u.length,a,s,c,d,l,p;r<n;r++)(s=(a=u[r]).style).height.indexOf("vh")>-1&&(i=parseInt(s.height)/100,c=o+"px",d=e(a).parent(".t-cover"),s.height=c)};e(document).ready((function(){setTimeout((function(){t()}),400)})),e(window).on("load",(function(){setTimeout((function(){t()}),400)})),e(window).width()<480?(e(document).ready((function(){var t;e("div[data-customstyle=yes]").each((function(t){e(this).css("font-size").replace("px","")>26&&(e(this).css("font-size",""),e(this).css("line-height",""))})),e("[field]").find("span").each((function(t){e(this).css("font-size").replace("px","")>26&&e(this).css("font-size","")})),e(".t-title, .t-name, .t-heading, .t-descr, .t-text, .t-subtitle").not(".tn-elem, .tn-atom, [data-auto-correct-line-height=false]").each((function(){if(void 0!==(t=e(this).attr("style"))&&""!=t&&t.indexOf("font-size")>-1&&e(this).css("font-size").replace("px","")>26)if("rem"===e(this).attr("data-auto-correct-font-size")){var o=new RegExp(/font-size.*px;/,"gi"),i=t.replace(o,"font-size: 1.6rem;").replace("line-height","lineheight");e(this).attr("style",i)}else{var i=t.replace("font-size","fontsize").replace("line-height","lineheight");e(this).attr("style",i)}}))})),e(window).on("load",(function(){var t=e(window).width();e(".r:visible").each((function(){var o=e(this);e(this).find("div").not("[data-auto-correct-mobile-width=false], .tn-elem, .tn-atom, .tn-atom__sbs-anim-wrapper, .tn-atom__prx-wrapper, .tn-atom__videoiframe, .tn-atom .t-form *, .tn-atom__sticky-wrapper, .t-store__relevants__container, .t-slds__items-wrapper, .js-product-controls-wrapper, .js-product-edition-option, .t-product__option-variants").each((function(){var i=parseInt(e(this).outerWidth(!0));if(i>t){if(e(this).is('[data-customstyle="yes"]')&&e(this).parent().is("[data-auto-correct-mobile-width=false]"))return;console.log("Block not optimized for mobile width. Block width:"+i+" Block id:"+o.attr("id")),console.log(e(this)),o.css("overflow","auto"),i-3>t&&o.css("word-break","break-all")}}))}))}))):e(window).width()<900&&e(document).ready((function(){var t;e("div[data-customstyle=yes]").each((function(t){e(this).css("font-size").replace("px","")>30&&(e(this).css("font-size",""),e(this).css("line-height",""))})),e("[field]").find("span").each((function(t){e(this).css("font-size").replace("px","")>30&&e(this).css("font-size","")})),e(".t-title, .t-name, .t-heading, .t-descr, .t-text, .t-subtitle").not(".tn-elem, .tn-atom").each((function(o){if(void 0!==(t=e(this).attr("style"))&&""!=t&&t.indexOf("font-size")>-1&&e(this).css("font-size").replace("px","")>30)if("rem"===e(this).attr("data-auto-correct-font-size")){var i=new RegExp(/font-size.*px;/,"gi"),r=t.replace(i,"font-size: 1.6rem;").replace("line-height","lineheight");e(this).attr("style",r)}else{var r=t.replace("font-size","fontsize").replace("line-height","lineheight");e(this).attr("style",r)}}))}))}}(jQuery),function(e){function t(){this.setScrollListener()}t.prototype.videoTags=[],t.prototype.defaultConfig={isNeedStop:!1},t.prototype.videoConfigs=[],t.prototype.registerNewVideo=function(e,t){if(!(e instanceof HTMLVideoElement))throw new Error("Wrong tag passed into registerNewVideo");return-1==this.videoTags.indexOf(e)&&(this.videoTags.push(e),this.videoConfigs.push(void 0===t?this.defaultConfig:t),this.scrollCb("",!0),!0)},t.prototype.unergisterVideo=function(e){if(!(e instanceof HTMLVideoElement))throw new Error("Wrong tag passed into unregisterNewVideo");var t;return(t=this.videoTags.indexOf(e))>-1&&("function"==typeof e.remove?e.remove():e.parentNode&&e.parentNode.removeChild(e),this.pauseVideo(e,this.videoConfigs[t]),this.videoTags.splice(t,1),this.videoConfigs.splice(t,1),!0)},t.prototype.pauseVideo=function(e,t){if(!t)throw new Error("Wrong config type!");e.pause(),t.isNeedStop&&e.load()},t.prototype.setScrollListener=function(){e(window).bind("scroll",t_throttle(jQuery.proxy(this.scrollCb,this),200))},t.prototype.scrollCb=function(t,o){for(var i=e(window).height(),r=0,n=null,a=0,s=this.videoTags.length;a<s;a++){if(n=this.videoTags[a],_vrect=this.getVideoBoundingRect(n,!1),Math.abs(_vrect.top)<i&&Math.abs(_vrect.top)>i/2){var c=1-(Math.abs(_vrect.top)-i/2)/(i/2)-.2;c>0&&c<=1&&0!=n.volume&&(n.volume=c)}Math.abs(_vrect.top)>i||0==_vrect.height?this.pauseVideo(n,this.videoConfigs[a]):(o&&n.play(),n.paused&&n.loop&&n.play())}},t.prototype.getVideoObject=function(e){for(var t=0,o=this.videoTags.length;t>o;t++){var i=this.videoTags[t];if(i.v===e)return i}return null},t.prototype.getVideoBoundingRect=function(t,o){void 0===o&&(o=!0);var i=null;return o&&(i=e(t).parents(".r")[0])||(i=t),i.getBoundingClientRect()},window.videoLoadProcessor=new t}(jQuery),function(e){function t(){this.setScrollCb(),this.itemHeight=screen.availHeight;var t=.25;this.itemTransitionTop=.25*this.itemHeight,this.activeItemIndex=null,this.windowHeight=document.documentElement.clientHeight||window.innerHeight||screen.availHeight,this.topOffsetShift=-150,e(window).resize(jQuery.proxy(this.recalculateAllSequencesOffsets,this)),this._resizeInterval=setInterval(jQuery.proxy(this.scrollCb,this),500)}function o(t){var o=e("#rec"+t),i=o.find(".t-cover").height(),r,r;if((r=o.find("div[data-hook-content]").outerHeight())>300&&i<r+40&&((r=r+120)>1e3&&(r+=100),console.log("auto correct cover height: "+r),o.find(".t-cover").height(r),o.find(".t-cover__filter").height(r),o.find(".t-cover__carrier").height(r),o.find(".t-cover__wrapper").height(r),0==window.isMobile&&setTimeout((function(){var e=o.find(".t-cover__carrier");e.find("iframe").length>0&&(console.log("correct video from cover_fixcontentheight"),p(e,r+"px")),e.find("video").length>0&&console.log("correct html5video from cover_fixcontentheight")}),2e3),"function"==typeof window.t_lazyload_updateResize_elem))try{window.t_lazyload_updateResize_elem(o.find(".t-cover__carrier"))}catch(e){console.log("error:"+e)}}function i(e){var t=document.body.querySelector("#rec"+e);if(t){var o=t.querySelector(".t-cover__carrier"),i,r,n;null!==o&&(i=o.getAttribute("data-content-video-url-youtube"),r=o.getAttribute("data-content-video-url-mp4"),n=o.getAttribute("data-content-video-url-webm"));var a=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),s;return!(window.isMobile||/Macintosh/.test(navigator.userAgent)&&"ontouchend"in document||!a||i||r||n||!o||"fixed"!==o.getAttribute("data-content-cover-parallax")||window["cover"+e+"fixbackgroundstyles"])}}function r(e){if(i(e)){var t=document.body.querySelector("#rec"+e),o=document.body.querySelector("#rec"+e+" .t-cover").parentNode;if(console.log("new fix node background-position: fixed"),!window.cover_fixBackgroundStyles){var r=".t-cover__container {position: relative;}.t-cover__container .t-cover {clip: rect(0, auto, auto, 0);position: absolute;top: 0;left: 0;width: 100%;height: 100% !important;}.t-cover__container .t-cover .t-cover__carrier {position: fixed;display: block;top: 0;left: 0;width: 100%;height: 100%!important;background-size: cover;background-position: center center;transform: translateZ(0);will-change: transform;}",n=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");n.appendChild(a),a.type="text/css",a.styleSheet?a.styleSheet.cssText=r:a.appendChild(document.createTextNode(r)),window.cover_fixBackgroundStyles=!0}var s=document.createElement("div");s.classList.add("t-cover__container"),o.prepend(s);var c=t.querySelector(".t-cover"),d=c.style.height;s.style.height=d,s.append(c);var l,p={275:".t256__video-container",286:".t266__video-container",337:".t-container",906:".t906__video-container"}[t.getAttribute("data-record-type")];if(void 0!==p){var u=t.querySelector(p);s.append(u)}window["cover"+e+"fixbackgroundnodes"]=!0}}function n(e){var t=document.body.querySelector("#rec"+e);if(i(e)){console.log("new fix style background-position: fixed");var o=t.querySelector(".t-cover__container"),r=t.querySelector(".t-cover"),n=r.style.height;r.style.height=0,o.style.height=n,window["cover"+e+"fixbackgroundstyles"]=!0}}function a(e,t,o){-1==e.indexOf("https://www.youtube.com/embed")&&(e="https://www.youtube.com/embed"+("/"==e[0]?e:"/"+e));var i=function(e){for(var t=e.split("/"),o=null,i=0,r=t.length;i<r;i++)"embed"==t[i]&&(o=t[i+1]);return o},r=location.protocol+"//"+location.host;return"yes"!=t?(e[e.length-1],e=e+"?autoplay=1&loop=1&enablejsapi=1&&playerapiid=featuredytplayer&controls=0&modestbranding=1&rel=0&showinfo=0&color=white&iv_load_policy=3&theme=light&wmode=transparent&origin="+r+"&playlist="+i(e)):(e[e.length-1],e=e+"?autoplay=0&loop=0&enablejsapi=1&&playerapiid=featuredytplayer&controls=1&modestbranding=1&rel=0&showinfo=0&color=black&iv_load_policy=3&theme=dark&wmode=transparent&origin="+r),"yes"!==o&&(e+="&mute=1"),e}function s(t,o,i){var r,n=e(window),a=e(t),s=0;n.scroll((function(){r&&(window.clearTimeout(r),s>=15&&(c(a,n,o,i),s=0),s++),r=window.setTimeout((function(){c(a,n,o,i),s=0}),100)})),n.scroll()}function c(e,t,o,i){var r,n,a,s,c;r=e.offset().top,n=e.height(),a=t.scrollTop(),s=t.height(),c=o.getPlayerState(),a+s>r&&a<=r+n?(1!==c&&o.playVideo(),"yes"==i&&(a>r+n-100?o.setVolume(30):a>r+n-200?o.setVolume(70):a+s<r+200?o.setVolume(30):o.setVolume(100))):a+s<r&&a+s>r-500?2!==c&&(o.playVideo(),o.pauseVideo()):2!==c&&o.pauseVideo()}t.prototype.defaultConfig={orientation:"vertical",speedFactor:1,automated:!1},t.prototype.sequenceObjects=[],t.prototype.recalculateAllSequencesOffsets=function(){this._resizeTimeout&&clearTimeout(this._resizeTimeout),this._resizeInterval&&clearInterval(this._resizeInterval),this._resizeTimeout=setTimeout(jQuery.proxy((function(){this.scrollCb(),this._resizeInterval=setInterval(jQuery.proxy(this.scrollCb,this),500)}),this),10)},t.prototype.registerNewBlock=function(e){if(!(e instanceof HTMLElement))throw new Error("Wrong node type in registerNewBlock");for(var t=0,o=this.sequenceObjects.length;t<o;t++)if(this.sequenceObjects[t].sequenceBlock===e)return!1;var i=e.querySelector('[data-hook="sequence-holder"]'),r=0,n=this.getAbsoluteTopOffset(i),a=function(){var t=Array.prototype.slice.call(e.querySelectorAll('[data-hook="sequence-item"]'),0),o=[];return t.forEach(jQuery.proxy((function(e,t,i){var n=this.getItemHeight(e),a=e.querySelector('[data-hook="item-background"]');e.style.height=n+"px",a.style.height=this.itemHeight+"px",t<i.length-1&&(r+=n),o.push({node:e,height:n,topOffset:this.getAbsoluteTopOffset(e.querySelector(".txt-holder"))-(t==i.length-1?0:this.topOffsetShift),backgroundHolder:a})}),this)),o}.call(this),s=this.itemHeight,c={sequenceBlock:e,sequenceHolder:i,sequenceHolderTopOffset:n,sequenceHeight:r,items:a,started:!1,prevBackgroundColor:""};return this.sequenceObjects.push(c),this.scrollCb(),!0},t.prototype.getItemHeight=function(e){var t=e.querySelector("[data-hook='item-text']"),o=e.querySelector("[data-hook='item-background']");st=e.style;var i=parseFloat(getComputedStyle(t).top),r;return t.style.top=i+"px",Math.max(t.clientHeight+i,this.itemHeight)},t.prototype.fixTextBlocksPosition=function(e){txtBlocks=Array.prototype.slice.call(e.querySelectorAll('[data-hook="item-text"]'),0),txtBlocks.forEach((function(e,t,o){var i;e.parentNode.querySelector("[data-hook='item-background']").style.top="-"+e.clientHeight+"px"}))},t.prototype.unergisterBlock=function(e){for(var t=0,o=this.sequenceObjects.length,i=null;t<o;t++)if(this.sequenceObjects[t].sequenceBlock===e){i=t;break}return null!==i&&(this.sequenceObjects.splice(i,1),!0)},t.prototype.getAbsoluteTopOffset=function(e){var t=e.offsetTop;for(e=e.offsetParent;null!=e;)t+=e.offsetTop,e=e.offsetParent;return t},t.prototype.processSequence=function(e){0==e.started&&(e.prevBackgroundColor=document.body.style.backgroundColor,document.body.style.backgroundColor="rgb(0, 0, 0)",e.started=!0);for(var t=e.sequenceBlock,o=e.sequenceHolder,i=e.items,r=null,n,a,s,c,d,l=0,p=i.length,u,h;l<p;l++)if(h=(n=i[l].node).querySelector(".txt-holder"),(u=n.getBoundingClientRect()).top<this.itemTransitionTop&&u.bottom<u.height+this.itemTransitionTop&&u.bottom>this.itemTransitionTop){r=l;break}if(null!=r){(d=u.top/this.itemTransitionTop)>1?d=1:d<0&&(d=0);for(var l=0,p=i.length;l<p;l++)n=i[l].node,"fixed"!=(s=i[l].backgroundHolder.style).position&&(s.position="fixed"),l==r?(s.opacity=1-d,n.querySelector(".txt-holder").style.opacity=1-d):l==r-1?(s.opacity=d,n.querySelector(".txt-holder").style.opacity=d):(s.opacity=0,n.querySelector(".txt-holder").style.opacity=0)}},t.prototype.stopSequence=function(e){0!=e.started&&(e.items.forEach((function(e,t,o){e.backgroundHolder.style.position="relative",e.backgroundHolder.style.display="block",e.backgroundHolder.style.opacity=1})),document.body.style.backgroundColor=e.prevBackgroundColor,e.started=!1)},t.prototype.scrollCb=function(){for(var t=e(window).scrollTop(),o=0,i=this.sequenceObjects.length,r,n;o<i;o++){var a=(r=this.sequenceObjects[o]).sequenceHolder.getBoundingClientRect();a.top<0&&a.bottom>0&&a.bottom>a.height-r.sequenceHeight-100?this.processSequence(r):this.stopSequence(r)}},t.prototype.setScrollCb=function(){this._scrollCb=jQuery.proxy(this.scrollCb,this),e(window).bind("scroll",t_throttle(this._scrollCb,200))},window.sequenceController=new t,window.processVideo=function(t){mp4Src=e(t).attr("data-content-video-url-mp4"),webmSrc=e(t).attr("data-content-video-url-webm"),e(t).css("background-color","transparent"),e(t).css("background-image","");var o={mp4:mp4Src,webm:webmSrc,preload:"none",autoplay:!1,loop:!0,scale:!0,zIndex:0,width:"100%"};vid=e(t).videoBG(o),videoLoadProcessor.registerNewVideo(vid,{isNeedStop:!1})},window.cover_init=function(t){e(document).ready((function(){var i=document.body.querySelector("#coverCarry"+t),a=e(i),s=a.attr("data-content-cover-bg"),c=a.attr("data-content-cover-height"),d=a.attr("data-content-cover-parallax"),l=a.attr("data-content-video-url-mp4"),p=a.attr("data-content-video-url-webm"),u=a.attr("data-content-video-url-youtube"),h=a.attr("data-content-video-noloop"),f=a.attr("data-content-video-nomute"),m=a.attr("data-content-bg-base64"),v=a.attr("data-content-video-nocover");s||(s=""),c||(c=""),d||(d=""),l||(l=""),p||(p=""),u||(u=""),h||(h=""),f||(f=""),u||(u=""),m||(m=""),v&&"yes"==v&&(l="",p="",u=""),!window.isMobile||""==p&&""==l&&""==u||a.css("background-image","url('"+s+"')"),setTimeout((function(){o(t),n(t)}),500),r(t);var w=e("#rec"+t).find("img[data-hook-clogo]");if(w.length&&w.load((function(){setTimeout((function(){o(t),n(t)}),500)})),window.isMobile&&e(window).on("orientationchange",(function(){o(t),n(t)})),(""!==l||""!==p||""!==u)&&0==window.isMobile)if(""!=u||""==l&&""==p){if(""!=u){var g;a.css("background-color","#000000"),a.css("background-image",""),a.attr("data-content-cover-bg","");var y=0,b;(b=e(window)).scroll((function(){g&&window.clearTimeout(g),g=window.setTimeout((function(){var e,t,o,r,n;(y=a.find("iframe").length)>0||(e=a.offset().top,t=a.height(),(o=b.scrollTop())+(r=b.height())>e-500&&o<=e+t+500&&processYoutubeVideo(i,c))}),100)})),b.scroll()}}else{a.css("background-color","#000000"),a.css("background-image","url('https://tilda.ws/img/spinner-white.gif')"),a.css("background-size","auto"),a.attr("data-content-cover-bg","");var _=!1;_=""==h;var x=!0;x=""==f;var k="",g;"fixed"==d&&(c.indexOf("vh")>-1&&parseInt(c)>100&&(a.css("height","100vh"),k="yes"),c.indexOf("px")>-1&&parseInt(c)>e(window).height()&&(a.css("height","100vh"),k="yes"));var y="",b=e(window),T=a.parent();b.scroll((function(){var e,t,o,i,r;(g&&window.clearTimeout(g),g=window.setTimeout((function(){var e,t,o,i,r;if(!(y>0)&&(e=a.offset().top,t=a.height(),(o=b.scrollTop())+(i=b.height())>e-500&&o<=e+t+500)){var n=a.videoBG({mp4:l,webm:p,poster:"",preload:"none",autoplay:"true",loop:_,volume:1,scale:!0,zIndex:0,width:"100%"});n.setAttribute("muted",x),n.setAttribute("playsinline",""),videoLoadProcessor.registerNewVideo(n),y=1}}),100),"fixed"==d&&"yes"==k)&&(e=T.offset().top,t=T.height(),(o=b.scrollTop())>=e+t-(i=b.height())?(a.css("position","absolute"),a.css("bottom","0px"),a.css("top","auto")):o>=e?(a.css("position","fixed"),a.css("top","0px")):o<e&&(a.css("position","relative"),a.css("top","auto")))})),b.scroll()}if("dynamic"==d&&0==window.isMobile){var S=a.offset().top-(a.offset().top-e(window).height());a.height()<e(window).height()&&a.height(a.height()+.2*S),a.parallax(.2,!0)}if("yes"==m&&""!=s&&""==l&&""==p&&""==u){var C="";e("<img/>").attr("src",s).load((function(){e(this).remove(),a.css("background-image","url('"+s+"')"),a.css("opacity","1");var t="yes"})),a.css("background-image",""),a.css("opacity","0"),a.css("transition","opacity 25ms")}var O=e("#rec"+t).find(".t-cover__arrow-wrapper");O.length>0&&O.click((function(){var o=e("#rec"+t).height();o>0&&e("html, body").animate({scrollTop:e("#rec"+t).offset().top+o},500)}))}))},e(document).ready((function(){var t;"edit"!=e(".t-records").attr("data-tilda-mode")&&e(".t-cover__carrier").each((function(){var t=e(this).attr("data-content-cover-id");t>0&&cover_init(t)}))}));var d=e.Deferred();function l(){if("yes"!==window.loadytapi_flag){window.loadytapi_flag="yes";var e=document.createElement("script");e.src="https://www.youtube.com/iframe_api";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}}function p(t,o){console.log("setWidthHeightYoutubeVideo:"+o);var i=t.find("iframe"),r=t.attr("data-content-video-nocover"),n=t.attr("data-content-video-noadcut-youtube"),a=t.attr("data-content-video-ratio"),s=.5625;if(a>0&&(s=1*parseFloat(a)),"yes"!=r){if(o||(o="100vh"),o.indexOf("vh")>-1){var c=window.innerHeight;c||(c=e(window).height());var d=Math.floor(c*(parseInt(o)/100))}else var d=parseInt(o);var l=Math.floor(parseInt(window.innerWidth));l||(l=e(window).width());var p=l,u,h=l,f=u=l*s,m=u,v=1;if("yes"==n||(f=f+110+110,m=u-220),m<d)if(u<d)var v=d/u+.02;else var v=u/d+.02;var w=Math.floor(h*v),g=Math.floor(f*v),y=g-d,b=w-l;i.height(g+"px"),i.width(w+"px"),y>0&&i.css("margin-top",-Math.floor(y/2)+"px"),b>0&&i.css("margin-left",-Math.floor(b/2)+"px")}else{var u;o||(u=Math.floor(t.width()*s)),o&&o.indexOf("vh")>-1?u=Math.floor(window.innerHeight*(parseInt(o)/100)):o&&(u=parseInt(o)),i.css("width","100%"),i.height(u+"px")}}window.processYoutubeVideo=function(t,o){l();var i=function(){var i=e(t),r=i.attr("data-content-video-url-youtube"),n=i.attr("data-content-video-nomute"),c=i.attr("data-content-video-noloop"),d=i.attr("data-content-video-nocover"),l=document.createElement("iframe"),u;if(l.src=a(r,d,n),l.frameBorder=0,l.allow="autoplay",t.appendChild(l),0==window.isMobile)var h=new YT.Player(l,{events:{onReady:function(e){s(t,e.target,n),e.target.setVolume&&"yes"!=n&&e.target.setVolume(0),e.target.setLoop(!0)},onStateChange:function(t){if(t.target.setVolume&&"yes"!=n&&t.target.setVolume(0),-1===t.data){var o=window.fix_scrolltop_beforestop_youtube;o>=0&&(e("html, body").scrollTop(o),delete window.fix_scrolltop_beforestop_youtube)}t.data===YT.PlayerState.PLAYING?u=window.setInterval((function(){var e=t.target.getCurrentTime(),o=t.target.getDuration();e+1>o&&0!==o&&(t.target.seekTo(0),"yes"===c&&(t.target.stopVideo(),t.target.clearVideo()))}),1e3):window.clearTimeout(u)}}});p(i,o)};d.then(i)},window.onYouTubeIframeAPIReady=function(){d.resolve()}}(jQuery),function(e){function t(){this.callbacks={}}t.prototype.defaultConfig={single:!1,context:null},t.prototype.addEventListener=function(e,t,o){evtCallbacks=this._getEventCallbacks(e),evtCallbacks||(evtCallbacks=this.callbacks[e]=[]),evtCallbacks.push({callback:t,config:"object"==typeof o?o:this.defaultConfig})},t.prototype._getEventCallbacks=function(e){return this.callbacks[e]},t.prototype.removeEventListener=function(e,t){var o=this._getEventCallbacks(e);if(!o)return!1;for(var i=0,r=o.length,n;i<r;i++)if(t===(n=o[i]).callback)return o.splice(i,1),!0;return!1},t.prototype.emitEvent=function(e,t){var o=[];extend(o,this._getEventCallbacks(e));for(var i=0,r=o.length,n,a,s;i<r;i++)a=(n=o[i]).callback,(s=n.config).context?a.call(s.context,t):a(t),s.single&&this.removeEventListener(e,a)},window.observer=new t}(jQuery),function(e){e(document).ready((function(){if(0==window.isMobile&&"yes"!==e("#allrecords").attr("data-blocks-animationoff")&&0==window.isSearchBot){e(".r").each((function(t){e(this).attr("style")&&-1!==e(this).attr("style").indexOf("background-color")&&e(this).attr("data-animationappear","off")}));var t=e(".r").not("[data-animationappear=off], [data-screen-min], [data-screen-max]"),o=e(window);function i(){if(t.length)for(var i=t.length-1,r,n,a;i>=0;i--)(n=(r=e(t[i])).offset().top)<(a=r.outerHeight()<=100?o.scrollTop()+o.height():o.scrollTop()+o.height()-100)&&(r.removeClass("r_hidden"),r.addClass("r_showed"),t.splice(i,1))}t.each((function(t){a=e(this).offset().top,b=o.scrollTop()+o.height()+300,a>1e3&&a>b?e(this).addClass("r_hidden"):e(this).addClass("r_showed"),e(this).addClass("r_anim")})),o.bind("scroll",t_throttle(i,200)),i()}"none"===e("html").css("display")&&e("html").css("display","block"),e("body").height()+70<e(window).height()?e(".t-tildalabel").css("display","none"):e(".t-tildalabel").attr("style","display: block !important")}))}(jQuery),function(e){function t(){var t=e(window);window.winWidth=t.width(),window.winHeight=t.height()}function o(){var t=e(window).width(),o,i,r,n;e("div.r[data-screen-max], div.r[data-screen-min]").each((function(o){"yes"!==e(this).attr("data-connect-with-tab")&&(n=e(this).css("display"),void 0===(i=e(this).attr("data-screen-max"))&&(i=1e4),i=parseInt(i),void 0===(r=e(this).attr("data-screen-min"))&&(r=0),(r=parseInt(r))<=i&&(t<=i&&t>r?"block"!=n&&e(this).css("display","block"):"none"!=n&&e(this).css("display","none")))}))}e(document).ready((function(){0===e("#allrecordstable").length&&(t(),o(),e(window).bind("resize",t_throttle(t,200)),e(window).bind("resize",t_throttle(o,200)))}))}(jQuery),function(e){function t(t,o){var i=t.closest(".t-cover__carrier"),r=o+"";console.log("setWidthHeightHTMLVideo:"+r);var n=i.find("video"),a=i.attr("data-content-video-nocover"),s=i.attr("data-content-video-ratio"),c=.5625;if(s>0&&(c=1*parseFloat(s)),"yes"!=a){if(r||(r="100vh"),r.indexOf("vh")>-1){var d=window.innerHeight;d||(d=e(window).height());var l=Math.floor(d*(parseInt(r)/100))}else var l=parseInt(r);var p=Math.floor(parseInt(window.innerWidth));p||(p=e(window).width());var u=p,h,f=p,m=h=p*c,v,w=1;if(h<l)if(h<l)var w=l/h+.02;else var w=h/l+.02;var g=Math.floor(f*w),y=Math.floor(m*w),b=y-l,_=g-p;n.height(y+"px"),n.width(g+"px"),b>0&&n.css("margin-top",-Math.floor(b/2)+"px"),_>0&&n.css("margin-left",-Math.floor(_/2)+"px")}else{var h;r||(h=Math.floor(i.width()*c)),r&&r.indexOf("vh")>-1?h=Math.floor(window.innerHeight*(parseInt(r)/100)):r&&(h=parseInt(r)),n.css("width","100%"),n.height(h+"px")}}e.fn.videoBG=function(o,i){var i={};if("object"==typeof o)i=e.extend({},e.fn.videoBG.defaults,o);else{if(o)return e(o).videoBG(i);i=e.fn.videoBG.defaults}var r=e(this);if(r.length){"static"!=r.css("position")&&r.css("position")||r.css("position","relative"),0==i.width&&(i.width=r.width()),0==i.height&&(i.height=r.height()),i.textReplacement&&(i.scale=!0,r.width(i.width).height(i.height).css("text-indent","-9999px"));var n=e.fn.videoBG.video(i);return i.scale&&n.height(i.height).width(i.width),r.append(n),void 0===r.attr("data-content-video-nomute")&&r.find("video").prop("muted","true"),t(n,i.height),n.find("video")[0]}},e.fn.videoBG.setFullscreen=function(t){var o=e(window).width(),i=e(window).height(),r,n,a,n;if(t.css("min-height",0).css("min-width",0),t.parent().width(o).height(i),o/i>t.aspectRatio)t.width(o).height("auto"),(n=(t.height()-i)/2)<0&&(n=0),t.css("top",-n);else if(t.width("auto").height(i),(n=(t.width()-o)/2)<0&&(n=0),t.css("left",-n),0===n)var s=setTimeout((function(){e.fn.videoBG.setFullscreen(t)}),500);e("body > .videoBG_wrapper").width(o).height(i)},e.fn.videoBG.video=function(t){var o=e("<div/>");o.addClass("videoBG").css("position",t.position).css("z-index",t.zIndex).css("top",0).css("left",0).css("height",t.height).css("width",t.width).css("opacity",t.opacity).css("overflow","hidden");var i=e("<video/>"),r;(i.css("position","relative").css("z-index",t.zIndex).attr("poster",t.poster).css("top",0).css("left",0).css("min-width","100%").css("min-height","100%"),i.prop("autoplay",t.autoplay),i.prop("loop",t.loop),i.prop("muted",t.muted),t.volume>0?i.prop("volume",t.volume):i.prop("volume",0),t.fullscreen)&&(i.bind("canplay",(function(){i.aspectRatio=i.width()/i.height(),e.fn.videoBG.setFullscreen(i)})),e(window).resize((function(){clearTimeout(r),r=setTimeout((function(){e.fn.videoBG.setFullscreen(i)}),100)})),e.fn.videoBG.setFullscreen(i));var n=i[0];t.loop&&(loops_left=t.loop,i.bind("ended",(function(){loops_left&&n.play(),!0!==loops_left&&loops_left--}))),i.bind("canplay",(function(){t.autoplay&&n.play()})),e.fn.videoBG.supportsVideo()&&(e.fn.videoBG.supportType("webm")&&""!=t.webm?i.attr("src",t.webm):e.fn.videoBG.supportType("mp4")&&""!=t.mp4?i.attr("src",t.mp4):i.attr("src",t.ogv));var a=e("<img/>");return a.attr("src",t.poster).css("position","absolute").css("z-index",t.zIndex).css("top",0).css("left",0).css("min-width","100%").css("min-height","100%"),e.fn.videoBG.supportsVideo()?o.html(i):o.html(a),t.textReplacement&&(o.css("min-height",1).css("min-width",1),i.css("min-height",1).css("min-width",1),a.css("min-height",1).css("min-width",1),o.height(t.height).width(t.width),i.height(t.height).width(t.width),a.height(t.height).width(t.width)),e.fn.videoBG.supportsVideo(),o},e.fn.videoBG.supportsVideo=function(){return document.createElement("video").canPlayType},e.fn.videoBG.supportType=function(t){if(!e.fn.videoBG.supportsVideo())return!1;var o=document.createElement("video");switch(t){case"webm":return o.canPlayType('video/webm; codecs="vp8, vorbis"');case"mp4":return o.canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"');case"ogv":return o.canPlayType('video/ogg; codecs="theora, vorbis"')}return!1},e.fn.videoBG.wrapper=function(){var t=e("<div/>");return t.addClass("videoBG_wrapper").css("position","absolute").css("top",0).css("left",0),t},e.fn.videoBG.defaults={mp4:"",ogv:"",webm:"",poster:"",autoplay:!0,loop:!0,scale:!1,position:"absolute",opacity:1,textReplacement:!1,zIndex:0,width:0,height:0,fullscreen:!1,imgFallback:!0}}(jQuery),function(e){var t=e(window),o=t.height();t.resize((function(){o=t.height()})),e.fn.parallax=function(i,r){var n=e(this),a,s,c=0,d=void 0!==document.body.style["-webkit-transform"];function l(){var r=t.scrollTop();n.each((function(){var t=e(this),n=t.offset().top,s=a(t),c=this.getBoundingClientRect();if(!(n+s<r||n>r+o)){var l=-1*Math.round(c.top*i);d?this.style["-webkit-transform"]="translateY("+l+"px)":this.style.top=l+"px"}}))}d&&n.css("position","relative"),window.correctFirstTop4Parallax=function(){n.each((function(){s=n.offset().top}))},window.correctFirstTop4Parallax(),a=r?function(e){return e.outerHeight(!0)}:function(e){return e.height()},(arguments.length<1||null===i)&&(i=.1),(arguments.length<2||null===r)&&(r=!0),l(),e(window).resize(window.correctFirstTop4Parallax),t.bind("scroll",l).resize(l),"complete"!==document.readyState&&window.addEventListener("load",(function(){l()}))}}(jQuery),window.Tilda=window.Tilda||{},function(e){Tilda.sendEcommerceEvent=function(t,o){if(void 0===o||0==o.length)return!1;if(void 0===t||"add"!=t&&"remove"!=t&&"purchase"!=t&&"detail"!=t)return!1;var i,r,n="",a=0,s=[],c,d,l="",p="",u="",h;for(i=0;i<o.length;i++){n>""&&(n+=", "),n+=(d=o[i]).name,a+=d.price,c="",void 0!==d.options&&d.options.length>0&&e.each(d.options,(function(e,t){c+=t.option+": "+t.variant+"; "}));var h={name:d.name,price:d.price,variant:c,quantity:1};d.id&&d.id>0&&(id=d.id,h.id=d.id),d.uid&&d.uid>0&&(p=d.uid,h.uid=d.uid),d.recid&&d.recid>0&&(l=d.recid,h.recid=d.recid),d.lid&&d.lid>0&&(u=d.lid,h.lid=d.lid),d.sku&&d.sku>0&&(h.sku=d.sku),s[s.length]=h}"add"!=t&&"remove"!=t||(r="/tilda/cart/"+t+"/",l>0&&(r+=""+l),p>0?r+="-u"+p:u>0&&(r+="-"+u)),"detail"==t&&(r="/tilda/product/detail/",p>0?r+=p+"/":(l>0&&(r+="r"+l),u>0&&(r+="-l"+u))),"purchase"==t&&(r="/tilda/rec"+l+"/payment/"),(h={ecommerce:{}}).ecommerce[t]={products:s},Tilda.sendEventToStatistics(r,n,h,a)},Tilda.sendEventToStatistics=function(t,o,i,r){var n="/"==t.substring(0,1),a=[],s=0,c=e("#allrecords").data("fb-event");c=!(!c||"nosend"!=c);var d=e("#allrecords").data("vk-event");d=!(!d||"nosend"!=d);var l="";if(l=e("#allrecords").data("tilda-currency")||e(".t706").data("project-currency-code")||"RUB",i||(i=window.location.href),(r=r?parseFloat(r):0)>0)if(window.dataLayer||(window.dataLayer=[]),-1!=t.indexOf("/tilda/")&&-1!=t.indexOf("/payment/")&&window.tildaForm&&window.tildaForm.orderIdForStat>"")i={ecommerce:{purchase:{actionField:{id:window.tildaForm.orderIdForStat,revenue:window.tildaForm.amountForStat},products:window.tildaForm.arProductsForStat}}},window.tildaForm.tildapayment&&window.tildaForm.tildapayment.promocode&&(i.ecommerce.purchase.actionField.coupon=window.tildaForm.tildapayment.promocode),i.event="purchase";else if(i&&i.ecommerce&&(i.ecommerce.add&&i.ecommerce.add.products?a=i.ecommerce.add.products:i.ecommerce.remove&&i.ecommerce.remove.products?a=i.ecommerce.remove.products:i.ecommerce.detail&&i.ecommerce.detail.products&&(a=i.ecommerce.detail.products),a&&a.length>0)){for(s=0;s<a.length;s++)a[s].id||(a[s].sku?a[s].id=a[s].sku:a[s].uid?a[s].id=a[s].uid:a[s].recid&&a[s].lid&&(a[s].id=a[s].recid+"_"+a[s].lid));i.ecommerce.add&&i.ecommerce.add.products?(i.ecommerce.add.products=a,i.event="addToCart"):i.ecommerce.remove&&i.ecommerce.remove.products?(i.ecommerce.remove.products=a,i.event="removeFromCart"):i.ecommerce.detail&&i.ecommerce.detail.products?(i.ecommerce.detail.products=a,i.event="viewProduct"):(n?(i.event="pageView",i.eventAction=t):i.event=t,i.title=o,i.value=r)}null!=window.dataLayer&&(n?r>0?i&&i.ecommerce?window.dataLayer.push(i):window.dataLayer.push({event:"pageView",eventAction:t,title:o,value:r,product:i}):window.dataLayer.push({event:"pageView",eventAction:t,title:o,referer:i}):i&&i.ecommerce?window.dataLayer.push(i):window.dataLayer.push({event:t,eventAction:o,value:r,referer:i}));try{window.gtagTrackerID&&"gtag"==window.mainTracker&&(n?i&&i.event?"purchase"==i.event?gtag("event","purchase",{transaction_id:i.ecommerce.purchase.actionField.id,value:parseFloat(r).toFixed(2),currency:l,items:i.ecommerce.purchase.products}):"addToCart"==i.event&&i.ecommerce.add?gtag("event","add_to_cart",{items:i.ecommerce.add.products}):"removeFromCart"==i.event&&i.ecommerce.remove?gtag("event","remove_from_cart",{items:i.ecommerce.remove.products}):"viewProduct"==i.event&&i.ecommerce.detail&&gtag("event","view_item",{items:i.ecommerce.detail.products}):gtag("config",window.gtagTrackerID,{page_title:o,page_path:t}):gtag("event",t,{event_category:"tilda",event_label:o,value:r}))}catch(e){}if(window.ga&&"tilda"!=window.mainTracker&&"gtag"!=window.mainTracker)if(n)if(i&&i.event){try{if(window.Tilda.isLoadGAEcommerce||(window.Tilda.isLoadGAEcommerce=!0,ga("require","ec")),ga("set","currencyCode",l),"purchase"==i.event){var p,u,h=i.ecommerce.purchase.products.length;for(u=0;u<h;u++)p=i.ecommerce.purchase.products[u],ga("ec:addProduct",{id:p.id||u,name:p.name,price:parseFloat(p.price).toFixed(2),quantity:p.quantity});ga("ec:setAction","purchase",{id:i.ecommerce.purchase.actionField.id,revenue:parseFloat(r).toFixed(2)})}else if("addToCart"==i.event&&i.ecommerce.add){var p,u,h=i.ecommerce.add.products.length;for(u=0;u<h;u++)p=i.ecommerce.add.products[u],ga("ec:addProduct",{id:p.id||u,name:p.name,price:parseFloat(p.price).toFixed(2),quantity:p.quantity});ga("ec:setAction","add")}else if("removeFromCart"==i.event&&i.ecommerce.remove){var p,u,h=i.ecommerce.remove.products.length;for(u=0;u<h;u++)p=i.ecommerce.remove.products[u],ga("ec:addProduct",{id:p.id||u,name:p.name,price:parseFloat(p.price).toFixed(2),quantity:p.quantity});ga("ec:setAction","remove")}else if("viewProduct"==i.event&&i.ecommerce.detail){var p,u,h=i.ecommerce.detail.products.length;for(u=0;u<h;u++)p=i.ecommerce.detail.products[u],ga("ec:addProduct",{id:p.id||u,name:p.name,price:parseFloat(p.price).toFixed(2),quantity:p.quantity});ga("ec:setAction","detail")}}catch(e){}ga("send",{hitType:"pageview",page:t,title:o,params:i})}else ga("send",{hitType:"pageview",page:t,title:o});else ga("send",{hitType:"event",eventCategory:"tilda",eventAction:t,eventLabel:o,eventValue:r});if(window.mainMetrikaId&&window.mainMetrikaId>0&&"function"==typeof ym)if(n){var f={title:o};r>0?(f.params={order_price:r},l&&(f.params.currency=l),ym(window.mainMetrikaId,"hit",t,f)):ym(window.mainMetrikaId,"hit",t,f)}else r>0?(f={order_price:r},l&&(f.currency=l),ym(window.mainMetrikaId,"reachGoal",t,f)):ym(window.mainMetrikaId,"reachGoal",t);if(window.mainMetrika>""&&window[window.mainMetrika]&&(n?r>0?window[window.mainMetrika].hit(t,{title:o,order_price:r,params:i}):window[window.mainMetrika].hit(t,{title:o}):r>0?window[window.mainMetrika].reachGoal(t,{title:o,params:i,order_price:r}):window[window.mainMetrika].reachGoal(t,{title:o,referer:i})),null!=window.fbq&&0==c)try{if(n)if(-1==t.indexOf("tilda/")||-1==t.indexOf("/payment/")&&-1==t.indexOf("/submitted/"))if(i&&i.event&&r>0)if("addToCart"==i.event&&i.ecommerce.add){var p,u,h=i.ecommerce.add.products.length,m=[];for(u=0;u<h;u++)p=i.ecommerce.add.products[u],m.push(p.id||p.uid||p.name);window.fbq("track","AddToCart",{content_ids:m,content_type:"product",value:r,currency:l})}else if("viewProduct"==i.event&&i.ecommerce.detail){var p,u,h=i.ecommerce.detail.products.length,m=[];for(u=0;u<h;u++)p=i.ecommerce.detail.products[u],m.push(p.id||p.uid||p.name);window.fbq("track","ViewContent",{content_ids:m,content_type:"product",value:r,currency:l})}else t.indexOf("tilda/popup"),window.fbq("track","ViewContent",{content_name:o,content_category:t});else t.indexOf("tilda/popup"),window.fbq("track","ViewContent",{content_name:o,content_category:t});else r>0&&l?window.fbq("track","InitiateCheckout",{content_name:o,content_category:t,value:r,currency:l}):window.fbq("track","Lead",{content_name:o,content_category:t});else window.fbq("track",t,{content_name:o,value:r})}catch(e){}if(void 0!==window.VK&&void 0!==window.VK.Retargeting&&0==d)try{if(n){var v=e("#allrecords").data("vk-price-list-id")?parseInt(e("#allrecords").data("vk-price-list-id")):0,w="",g=!1,y,y,y,y,y;if(i&&i.event)if(g={products:[],currency_code:"",total_price:0},"purchase"==i.event&&i.ecommerce.purchase)if(r>0&&v>0){g.currency_code=l;var p,u,h=i.ecommerce.purchase.products.length,m=[];for(u=0;u<h;u++)p=i.ecommerce.purchase.products[u],g.products.push({id:p.id||p.uid||p.name,price:p.price?p.price:0}),g.total_price=r;w="init_checkout"}else w="t-purchase";else if("addToCart"==i.event&&i.ecommerce.add)if(r>0&&v>0){g.currency_code=l;var p,u,h=i.ecommerce.add.products.length,m=[];for(u=0;u<h;u++)p=i.ecommerce.add.products[u],g.products.push({id:p.id||p.uid||p.name,price:p.price?p.price:0}),g.total_price=r;w="add_to_cart"}else w="t-add-to-cart",i.ecommerce.add[0]&&i.ecommerce.add[0].uid&&(w+="-"+i.ecommerce.add[0].uid);else if("viewProduct"==i.event&&i.ecommerce.detail)if(r>0&&v>0){g.currency_code=l;var p,u,h=i.ecommerce.detail.products.length,m=[];for(u=0;u<h;u++)p=i.ecommerce.detail.products[u],g.products.push({id:p.id||p.uid||p.name,price:p.price?p.price:0}),g.total_price=r;w="view_product"}else w="t-view-product",i.ecommerce.detail[0]&&i.ecommerce.detail[0].uid&&(w+="-"+i.ecommerce.detail[0].uid);else if("removeFromCart"==i.event&&i.ecommerce.remmove)if(r>0&&v>0){g.currency_code=l;var p,u,h=i.ecommerce.remove.products.length,m=[];for(u=0;u<h;u++)p=i.ecommerce.remove.products[u],g.products.push({id:p.id||p.uid||p.name,price:p.price?p.price:0}),g.total_price=r;w="remove_from_cart"}else w="t-remove-product",i.ecommerce.remove[0]&&i.ecommerce.remove[0].uid&&(w+="-"+i.ecommerce.remove[0].uid);else w=i.event;else if(-1!=t.indexOf("tilda/")&&-1!=t.indexOf("/payment/"))w="t-purchase-"+(y=(y=(y=t.replace("/tilda/","")).replace("tilda/","")).replace("/payment/",""));else if(-1!=t.indexOf("tilda/")&&-1!=t.indexOf("/submitted/"))w="t-lead-"+(y=(y=(y=t.replace("/tilda/","")).replace("tilda/","")).replace("/submitted/",""));else if(-1!=t.indexOf("tilda/popup"))w="t-"+(y=(y=t.replace("/tilda/","")).replace("/","-"));else if(-1!=t.indexOf("tilda/click"))w="t-"+(y=(y=t.replace("/tilda/","")).replace("/","-"));else w="t-"+(y=t.replace("/","-"));v>0&&g&&g.currency_code?(VK.Retargeting.Event("purchase"),VK.Retargeting.ProductEvent(v,w,g)):VK.Retargeting.Event(w)}else VK.Retargeting.Event(t)}catch(e){}if(window.mainMailruId>"0"){var b=window._tmr||(window._tmr=[]);n?r>0?b.push({id:""+window.mainMailruId,type:"pageView",url:t,value:r,start:(new Date).getTime()}):b.push({id:""+window.mainMailruId,type:"pageView",url:t,start:(new Date).getTime()}):r>0?b.push({id:""+window.mainMailruId,type:"reachGoal",goal:t,value:r}):b.push({id:""+window.mainMailruId,type:"reachGoal",goal:t})}"function"==typeof window.tildastat&&(n?(t.indexOf("payment")>0&&t.indexOf("tilda/form")>-1&&(t=t.replace("tilda/form","tilda/rec")),window.tildastat("pageview",{page:t})):window.tildastat("pageview",{page:"/tilda/event/"+t}))},Tilda.saveUTM=function(){try{var e=window.location.href,t="",o="";if(-1!==e.toLowerCase().indexOf("utm_")&&"string"==typeof(t=(t=(e=e.toLowerCase()).split("?"))[1])){var i,r,n=t.split("&");for(r in n)"utm_"==(i=n[r].split("="))[0].substring(0,4)&&(o=o+n[r]+"|||");if(o.length>0){var a=new Date;a.setDate(a.getDate()+30),document.cookie="TILDAUTM="+encodeURIComponent(o)+"; path=/; expires="+a.toUTCString()}}}catch(e){}},e(document).ready((function(){var t=navigator.userAgent.toLowerCase(),o=-1!=t.indexOf("msie")&&parseInt(t.split("msie")[1]);8!=o&&9!=o||e(".t-btn").each((function(){var t=e(this).attr("href");e(this).find("table").length>0&&t>""&&-1==t.indexOf("#popup:")&&-1==t.indexOf("#price:")&&e(this).click((function(t){t.preventDefault();var o=e(this).attr("href");window.location.href=o}))}));try{1==e("#allrecords").length&&"no"==e("#allrecords").data("tilda-cookie")||Tilda.saveUTM()}catch(e){}e(".r").off("click","a.js-click-stat"),e(".r").on("click","a.js-click-stat",(function(t){var o=e(this).data("tilda-event-name"),i=e(this).text(),r=e(this).attr("href")||"",n=e(this).attr("target");if(o||(o="/tilda/click/".$(this).closest(".r").attr("id")+"/?url="+r),Tilda.sendEventToStatistics(o,i),"http"==r.substring(0,4))return window.setTimeout((function(){var t="",o,i,a="";if("_blank"==n){if(-1!=r.indexOf("?")&&(t=r.split("?"),r=t[0],-1!=(t=t[1]).indexOf("#")&&(t=t.split("#"),r=r+"#"+t[1],t=t[0]),t=t.split("&")),0==e("#tildaredirectform").length?e("body").append('<form id="tildaredirectform" target="_blank" method="GET" action="'+r+'" style="display:none;"></form>'):e("#tildaredirectform").attr("method","GET").attr("action",r),a="",t.length>0)for(o in t)(i=t[o].split("="))&&i.length>0&&(a+='<input type="hidden" name="'+i[0]+'" value="'+(i[1]?i[1]:"")+'">');e("#tildaredirectform").html(a),e("#tildaredirectform").submit()}else window.location.href=r}),300),t.preventDefault(),!1})),e("input.js-amount").each((function(){var t=e(this).val();t=t.replace(/,/g,"."),t=parseFloat(t.replace(/[^0-9\.]/g,"")),e(this).val(t)})),Tilda.showFormError=function(e,t){var o=e.find(".js-errorbox-all");o&&0!=o.length||(e.prepend('<div class="js-errorbox-all"></div>'),o=e.find(".js-errorbox-all"));var i=o.find(".js-rule-error-all");i&&0!=i.length||(o.append('<p class="js-rule-error-all"></p>'),i=o.find(".js-rule-error-all")),"string"==typeof t?i.html(t):t&&t.responseText?i.html(t.responseText+". Later, plaese try again."):t&&t.statusText?i.html("Error - "+t.statusText+". Later, plaese try again."):i.html("Unknown error. Later, plaese try again."),i.show(),o.show()},Tilda.robokassaPayment=function(t,o,i){return e.ajax({type:"POST",url:"https://forms.tildacdn.com/payment/robokassa/",data:t.serialize(),dataType:"text",success:function(r){o.removeClass("t-btn_sending"),o.data("form-sending-status","0"),o.data("submitform","");var n=o.closest(".r").attr("id");if("{"==r.substring(0,1)){if(window.JSON&&window.JSON.parse?json=window.JSON.parse(r):json=e.parseJSON(r),!json)return void Tilda.showFormError(t,!1);if(json.error>"")return void Tilda.showFormError(t,json.error)}else if("http"==r.substring(0,4)){Tilda.sendEventToStatistics("/tilda/payment/"+n+"/click/","Payment button: "+o.val(),"",i);var a=r;window.setTimeout((function(){window.location.href=a}),500)}else Tilda.showFormError(t,r)},fail:function(e){o.removeClass("t-btn_sending"),o.data("form-sending-status","0"),o.data("submitform","");var i="";Tilda.showFormError(t,e)},timeout:15e3})}}))}(jQuery),function(e){e(document).ready((function(){setTimeout((function(){(e("#tildacopy").length||e(".t-tildalabel").length)&&e(".t-tildalabel div").length?e("body").height()+70>e(window).height()&&e(".t-tildalabel").attr("style","display: block !important; visibility: visible !important; position: relative !important; width: 100% !important; pointer-events: all !important; opacity: 1 !important; margin: 0 !important;"):e("body").contents().filter((function(){return 8==this.nodeType})).each((function(t,o){-1!==o.nodeValue.indexOf("'t remove this l")&&e("#allrecords").after('<div class="t-tildalabel t-tildalabel-free"><div class="t-tildalabel-free__main"><a href="https://tilda.cc" target="_blank" style="padding-bottom:12px; display: block;"><img style="width:40px;" src="https://static.tildacdn.com/img/tildacopy.png"></a><div style="padding-bottom: 15px;">This site was made on <a href="https://tilda.cc" target="_blank" style="text-decoration: none; color:inherit;">Tilda — a website builder</a> that helps to&nbsp;create a&nbsp;website without any code</div><a href="https://tilda.cc/registration/" target="_blank" style="display: inline-block; padding: 10px 20px; font-size: 13px; border-radius: 50px; background-color: #fa8669; color: #fff; text-decoration: none;">Create a website</a></div><div class="t-tildalabel-free__links-wr"><a class="t-tildalabel-free__txt-link" href="https://help'+("RU"===window.browserLang?"-ru":"")+'.tilda.cc/white-label" target="_blank">'+("RU"===window.browserLang?"Как удалить этот лейбл":"How to remove this block")+"?</a></div></div>")}))}),500)}))}(jQuery);